/*!
\copyright  Copyright (c) 2023 Qualcomm Technologies International, Ltd.
            All Rights Reserved.
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file
\brief      Kymera implementation for voice_audio_manager_audio API
*/

#include "voice_audio_manager_audio/voice_audio_manager_audio.h"
#include "voice_audio_manager_capture.h"
#include "voice_audio_manager_wuw_detection.h"
#include <kymera.h>

void VoiceAudioManager_AudioStartCapture(const va_audio_voice_capture_params_t *params)
{
    Kymera_StartVoiceCapture(VoiceAudioManager_CaptureStarted, params);
}

void VoiceAudioManager_AudioStopCapture(void)
{
    Kymera_StopVoiceCapture();
}

void VoiceAudioManager_AudioStartWuw(const va_audio_wuw_detection_params_t *params)
{
    Kymera_StartWakeUpWordDetection(VoiceAudioManager_WuwDetected, params);
}

void VoiceAudioManager_AudioStopWuw(void)
{
    Kymera_StopWakeUpWordDetection();
}
